function encryptoPwd(pwd,key){
    
    // var key = CryptoJS.enc.Base64.parse("sEcret_Key.123&&");
    // var iv = CryptoJS.enc.Base64.parse("sEcret_Key.456##")
    // var key  =CryptoJS.enc.Utf8.parse('Mairui_1');
    // var iv   =CryptoJS.enc.Utf8.parse('Mairui_2');

           
    // var decryptedbytes = CryptoJS.enc.Base64.parse(pwd) 
    // var cipherParams = CryptoJS.lib.CipherParams.create({ ciphertext: decryptedbytes});
    // var options = { mode: CryptoJS.mode.CBC, padding: CryptoJS.pad.ZeroPadding, iv: iv };
    // var en = CryptoJS.AES.encrypt(cipherParams, key, options);
    // var encryptedStr = en.toString(CryptoJS.enc.Utf8);
    //key = JoyGoAdmin_12356
    var encrypt = CryptoJS.AES.encrypt(pwd, CryptoJS.enc.Utf8.parse(key), {
        mode: CryptoJS.mode.CBC,
        padding: CryptoJS.pad.ZeroPadding,
        iv:CryptoJS.enc.Utf8.parse(key)
      }).toString();
    return encrypt
}